package com.hifar.test.test.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hifar.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author zhuWeiWei
 * @description 试验夹具
 * @date 2025/1/14 18:08
 */
@Data
@EqualsAndHashCode
@TableName("hf_env_test_person")
@ApiModel("试验参试人员")
public class HfEnvTestPerson extends BaseModel {
    @ApiModelProperty("用户id")
    private String userId;
    @ApiModelProperty("用户名称")
    private String userName;
    @ApiModelProperty("试验id")
    private String testId;

    @ApiModelProperty("类型")
    private String type;


    @ApiModelProperty(value = "检验时间、校对时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date testTime;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remarks;

}
